<?php
require_once($_SESSION["root_path"]."/DataBase.inc");
$subjects = DataBase::select("subject",null,array("selection_campaign_id"=>$_SESSION["campaign_id"]));
foreach ($subjects as $subject) {
	$app_display_names["Exam Results"]["applicant_score_subject_exam.score_subject_exam/subject_id/".$subject["subject_id"]] = $subject["subject_name"]." / ".$subject["global_mark"];
	$parts = DataBase::select("subject_part",null,array("subject_id"=>$subject["subject_id"]));
	foreach ($parts as $part) {
		$app_display_names["Exam Results"]["applicant_score_part_exam.score_part_exam/subject_part_id/".$part["subject_part_id"]] = $subject["subject_name"]." - ".$part["subject_part_name"]." / ".$part["subject_part_mark"];
	}
}
?>